<div style="padding:15px;margin:15px 0;background-color:#ccc">
<div class="layui-form-item">
    <label class="layui-form-label">{$field.alias}</label>
</div>
{if isset($field['config'])}
{foreach $field['config'] as $r}
{php}$r['name'] = $field['name'].'['.$r['name'].']';{/php}
{:create_form_elem($r)}
{/foreach}
{/if}
</div>